import type { RouteRecordRaw } from 'vue-router'
import { configName } from '@/config'
const config = configName()

function defineExposeRoutes(routes: RouteRecordRaw[]) {
  return routes
}

export default defineExposeRoutes([
  {
    path: 'home',
    name: config.HomeName,
    meta: {
      title: '首页',
      notLeftArrow: true,
      needTabbar: true
    },
    component: () => import('@/views/home/Home.vue')
  }
])
